package com.lz.service;

import com.lz.dao.TeacherDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherService {

    @Autowired
    private TeacherDao teacherDao;

    public void teacherDelete(long id){
        teacherDao.delete(id);

    }
}
